package com.project.common;

import java.util.HashSet;
import java.util.Set;

import org.springframework.stereotype.Component;
import org.thymeleaf.dialect.AbstractDialect;
import org.thymeleaf.processor.IProcessor;

@Component
public class AreaDialect extends AbstractDialect {

	@Override
	public String getPrefix() {
		return "area";
	}
  
	@Override
    public Set<IProcessor> getProcessors() {
        final Set<IProcessor> processors = new HashSet<>();
        processors.add(new AreaElementProcessor());
        return processors;
    }

}
